import { Layout } from '@fl/utils/routerHelper'

const order: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/order-management/firstTrial/index.vue'),
            meta: {
                title: '诚意金初审',
            },
            name: 'order-management-firstTrial',
            path: 'firstTrial',
        },
        {
            component: () => import('@/pages/order-management/recheck/index.vue'),
            meta: {
                title: '诚意金复审',
            },
            name: 'order-management-recheck',
            path: 'recheck',
        },
        {
            component: () => import('@/pages/order-management/record/index.vue'),
            meta: {
                title: '订单退款初审',
            },
            name: 'order-management-record',
            path: 'record',
        },
        {
            component: () => import('@/pages/order-management/recordRecheck/index.vue'),
            meta: {
                title: '订单退款复审',
            },
            name: 'order-management-recordRecheck',
            path: 'recordRecheck',
        },
        {
            component: () => import('@/pages/order-management/comprehensiveQuery/index.vue'),
            meta: {
                title: '订单综合查询',
            },
            name: 'order-management-index',
            path: 'comprehensiveQuery',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        icon: 'i-clarity:contract-line',
        title: '订单管理',
    },
    name: 'order-management',
    path: 'order-management',
}

export default order
